package com.luocj.brvah_srl.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by luocj515 on 2017/12/6.
 * 项目名称：BRVAHandSRL
 * 类描述：
 * 创建人：hasee
 * 创建时间：2017/12/6 10:26
 * 修改备注：
 */

public class MulEntity implements MultiItemEntity {

    public static final int TEXT = 1;
    public static final int IMAGE = 2;
    public static final int TEXT_IMAGE = 3;

    public static final int TEXT_SIZE = 2;
    public static final int IMAGE_SIZE = 2;
    public static final int TEXT_IMAGE_SIZE = 4;

    private int itemType;
    private int spanSize;

    public MulEntity(int itemType, int spanSize) {
        this.itemType = itemType;
        this.spanSize = spanSize;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public int getSpanSize() {
        return spanSize;
    }

    public void setSpanSize(int spanSize) {
        this.spanSize = spanSize;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
